package cn.iocoder.yudao.module.tms.dal.dataobject.companyaccountperiod;

import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

@TableName("tms_company_account_period")
@KeySequence("tms_company_account_period_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CompanyAccountPeriodDO extends BaseDO {

    @TableId
    private Long id;

    private Long companyId;

    private BigDecimal creditLimit;

    private BigDecimal creditAlertAmount;

    private BigDecimal currentCreditUsed;

    private Integer billingCycleDays;

    private Integer billingAlertDays;

    private LocalDate billingStartDate;

    private LocalDate billingDueDate;

    private String remark;

}
